package com.yuanfengPlus.goodsManage.goodsBrandManage.dao;

import com.yuanfengPlus.goodsManage.goodsBrandManage.model.GoodsBrand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface GoodsBrandDao {

    // 添加商品品牌
    int addGoodsBrand(GoodsBrand goodsBrand);


    // 更新商品品牌
    int updateGoodsBrand(GoodsBrand goodsBrand);

    // 查询所有商品品牌
    List<GoodsBrand> queryGoodsBrand();

    // 根据ID查询商品品牌
    GoodsBrand queryGoodsBrandById(@Param("goodsBrandId") Integer goodsBrandId);
}
